#include <REGX52.H>
#include "Delay.h"
#include "LCD1602.h"
#include "MatrixKey.h"
unsigned char KeyNum = 0;
void main(){
	
	LCD_Init();
	LCD_ShowString(1, 2, "Hello YuFei");
	
	while(1){
		KeyNum = KeyNumber();
		if(KeyNum){
			LCD_ShowNum(2, 1, KeyNum, 2);
		}
	}
}